>go run .\gin_main.go -mongo-interval=2
2025/06/30 23:45:33 加载到的配置文件: API_PORT=58080, WEB_PORT=58081, NAV_USERNAME=admin, ENABLE_NO_AUTH=false, ENABLE_NO_AUTH_VIEW=false, MONGODB_URI=mongodb://localhost:27017, MONGODB_DB=navigation_db, MONGODB_SYNC=true, MONGODB_INTERVAL=2min    
2025/06/30 23:45:33 Connected to MongoDB: mongodb://localhost:27017
2025/06/30 23:45:33 Successfully synced navigation data to MongoDB at 2025-06-30T23:45:33+08:00
2025/06/30 23:45:33 Web server is running on http://localhost:58081
2025/06/30 23:45:33 API server is running on http://localhost:58080
2025/06/30 23:47:33 Successfully synced navigation data to MongoDB at 2025-06-30T23:47:33+08:00


> http :58080/api/navigation/1690544550@qq.com?password=123456
HTTP/1.1 200 OK
Content-Disposition: attachment; filename=1690544550@qq.com_navigation.json
Content-Length: 284
Content-Type: application/json
Date: Tue, 01 Jul 2025 05:02:35 GMT

{
    "categories": [
        "gitee"
    ],
    "lastModified": 1751343920412,
    "links": [
        {
            "category": "gitee",
            "icon": "",
            "name": "fuckerfucker",
            "sortIndex": 0,
            "url": "https://gitee.com/EEPPEE_admin/tiny-nav/blob/master/backend/gin_main.go"      
        }
    ]
}